projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3dc1f09
)
gtk: undef DISABLE_DEPRECATED around including our own header
author
Michael Natterer
<mitch@gimp.org>
Fri, 22 Oct 2010 15:09:48 +0000
(17:09 +0200)
committer
Michael Natterer
<mitch@gimp.org>
Fri, 22 Oct 2010 15:10:49 +0000
(17:10 +0200)
so we can see our own deprecated API and don't get warnings.
gtk/gtkviewport.c
patch
|
blob
|
history
diff --git
a/gtk/gtkviewport.c
b/gtk/gtkviewport.c
index 1362df7c0197db889ab8b8a05b6ee548bfd20248..f91f2efd8d077177e4115eb3ab235742ec875108 100644
(file)
--- a/
gtk/gtkviewport.c
+++ b/
gtk/gtkviewport.c
@@
-25,11
+25,13
@@
*/
#include "config.h"
-#include "gtkviewport.h"
#include "gtkintl.h"
#include "gtkmarshalers.h"
#include "gtktypeutils.h"
#include "gtkscrollable.h"
+#undef GTK_DISABLE_DEPRECATED
+#include "gtkviewport.h"
+#define GTK_DISABLE_DEPRECATED
#include "gtkprivate.h"